package com.ruoyi.project.anquan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 事故事件对象 security_sgsj
 * 
 * @author ruoyi
 * @date 2020-05-11
 */
public class SecuritySgsj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long sgsjId;

    /** 事故名称 */
    @Excel(name = "事故名称")
    private String sgsjName;

    /** 发生地点 */
    @Excel(name = "发生地点")
    private String sgsjAddress;

    /** 事件状态（1未生效 2已生效 3待调查 4已归档） */
    @Excel(name = "事件状态", readConverterExp = "1=未生效,2=已生效,3=待调查,4=已归档")
    private Integer sgsjStatus;

    /** 事故类别（1物体打击 2车辆伤害 3机械伤害 4起重伤害 5触电 6淹溺 7灼烫 8火灾 9高处坠落 10坍塌 11冒顶片帮 12透水 13放炮 14火药爆炸 15瓦斯爆炸 16锅炉爆炸 17容器爆炸 18其它爆炸 19中毒和窒息 20其它伤害） */
    @Excel(name = "事故类别", readConverterExp = "1=物体打击,2=车辆伤害,3=机械伤害,4=起重伤害,5=触电,6=淹溺,7=灼烫,8=火灾,9=高处坠落,1=0坍塌,1=1冒顶片帮,1=2透水,1=3放炮,1=4火药爆炸,1=5瓦斯爆炸,1=6锅炉爆炸,1=7容器爆炸,1=8其它爆炸,1=9中毒和窒息,2=0其它伤害")
    private Integer sgsjType;

    /** 经济损失 */
    @Excel(name = "经济损失")
    private Double sgsjEconomicloss;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sgsjHappen;
    
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createtime;
    
    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatetime;

    public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	/** 责任部门 */
    @Excel(name = "责任部门")
    private String sgsjDepartment;

    /** 事故等级（1特别重大事故 2重大事故 3较大事故 4一般事故 5一级事故） */
    @Excel(name = "事故等级", readConverterExp = "1=特别重大事故,2=重大事故,3=较大事故,4=一般事故,5=一级事故")
    private Integer sgsjLevel;

    /** 事故经过 */
    @Excel(name = "事故经过")
    private String sgsjPass;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sgsjReporttime;

    /** 举报人 */
    @Excel(name = "举报人")
    private String sgsjInformant;

    /** 举报人手机号 */
    @Excel(name = "举报人手机号")
    private String sgsjInformantphone;

    /** 上级 */
    @Excel(name = "上级")
    private String sgsjSuperior;

    /** 伤亡表id */
    @Excel(name = "伤亡表id")
    private Long casualtyId;

    /** 调查组织单位 */
    @Excel(name = "调查组织单位")
    private String sgsjUnit;

    /** 调查组织成员 */
    @Excel(name = "调查组织成员")
    private String sgsjMember;

    /** 事故原因分析 */
    @Excel(name = "事故原因分析")
    private String sgsjReason;

    /** 是否关联隐患（1是 2否） */
    @Excel(name = "是否关联隐患", readConverterExp = "1=是,2=否")
    private Integer hiddendanger;

    /** 相关责任处理认定 */
    @Excel(name = "相关责任处理认定")
    private String sgsjCognizance;

    /** 事故教育培建议 */
    @Excel(name = "事故教育培建议")
    private String sgsjEducation;

    /** 事故整改措施建议 */
    @Excel(name = "事故整改措施建议")
    private String sgsjSuggest;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other1;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other2;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other3;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other4;

    /** $column.columnComment */
    @Excel(name = "事故整改措施建议")
    private String other5;
    
    /** 统计赋值 */
    @Excel(name = "统计赋值")
    private String name;
    

	/** 统计赋值    */
    @Excel(name = "事故名称")
    private String value;
    
    public String getName() {
 		return name;
 	}

 	public void setName(String name) {
 		this.name = name;
 	}

 	public String getValue() {
 		return value;
 	}

 	public void setValue(String value) {
 		this.value = value;
 	}
    public void setSgsjId(Long sgsjId) 
    {
        this.sgsjId = sgsjId;
    }

    public Long getSgsjId() 
    {
        return sgsjId;
    }
    public void setSgsjName(String sgsjName) 
    {
        this.sgsjName = sgsjName;
    }

    public String getSgsjName() 
    {
        return sgsjName;
    }
    public void setSgsjAddress(String sgsjAddress) 
    {
        this.sgsjAddress = sgsjAddress;
    }

    public String getSgsjAddress() 
    {
        return sgsjAddress;
    }
    public void setSgsjStatus(Integer sgsjStatus) 
    {
        this.sgsjStatus = sgsjStatus;
    }

    public Integer getSgsjStatus() 
    {
        return sgsjStatus;
    }
    public void setSgsjType(Integer sgsjType) 
    {
        this.sgsjType = sgsjType;
    }

    public Integer getSgsjType() 
    {
        return sgsjType;
    }
    public void setSgsjEconomicloss(Double sgsjEconomicloss) 
    {
        this.sgsjEconomicloss = sgsjEconomicloss;
    }

    public Double getSgsjEconomicloss() 
    {
        return sgsjEconomicloss;
    }
    public void setSgsjHappen(Date sgsjHappen) 
    {
        this.sgsjHappen = sgsjHappen;
    }

    public Date getSgsjHappen() 
    {
        return sgsjHappen;
    }
    public void setSgsjDepartment(String sgsjDepartment) 
    {
        this.sgsjDepartment = sgsjDepartment;
    }

    public String getSgsjDepartment() 
    {
        return sgsjDepartment;
    }
    public void setSgsjLevel(Integer sgsjLevel) 
    {
        this.sgsjLevel = sgsjLevel;
    }

    public Integer getSgsjLevel() 
    {
        return sgsjLevel;
    }
    public void setSgsjPass(String sgsjPass) 
    {
        this.sgsjPass = sgsjPass;
    }

    public String getSgsjPass() 
    {
        return sgsjPass;
    }
    public void setSgsjReporttime(Date sgsjReporttime) 
    {
        this.sgsjReporttime = sgsjReporttime;
    }

    public Date getSgsjReporttime() 
    {
        return sgsjReporttime;
    }
    public void setSgsjInformant(String sgsjInformant) 
    {
        this.sgsjInformant = sgsjInformant;
    }

    public String getSgsjInformant() 
    {
        return sgsjInformant;
    }
    public void setSgsjInformantphone(String sgsjInformantphone) 
    {
        this.sgsjInformantphone = sgsjInformantphone;
    }

    public String getSgsjInformantphone() 
    {
        return sgsjInformantphone;
    }
    public void setSgsjSuperior(String sgsjSuperior) 
    {
        this.sgsjSuperior = sgsjSuperior;
    }

    public String getSgsjSuperior() 
    {
        return sgsjSuperior;
    }
    public void setCasualtyId(Long casualtyId) 
    {
        this.casualtyId = casualtyId;
    }

    public Long getCasualtyId() 
    {
        return casualtyId;
    }
    public void setSgsjUnit(String sgsjUnit) 
    {
        this.sgsjUnit = sgsjUnit;
    }

    public String getSgsjUnit() 
    {
        return sgsjUnit;
    }
    public void setSgsjMember(String sgsjMember) 
    {
        this.sgsjMember = sgsjMember;
    }

    public String getSgsjMember() 
    {
        return sgsjMember;
    }
    public void setSgsjReason(String sgsjReason) 
    {
        this.sgsjReason = sgsjReason;
    }

    public String getSgsjReason() 
    {
        return sgsjReason;
    }
    public void setHiddendanger(Integer hiddendanger) 
    {
        this.hiddendanger = hiddendanger;
    }

    public Integer getHiddendanger() 
    {
        return hiddendanger;
    }
    public void setSgsjCognizance(String sgsjCognizance) 
    {
        this.sgsjCognizance = sgsjCognizance;
    }

    public String getSgsjCognizance() 
    {
        return sgsjCognizance;
    }
    public void setSgsjEducation(String sgsjEducation) 
    {
        this.sgsjEducation = sgsjEducation;
    }

    public String getSgsjEducation() 
    {
        return sgsjEducation;
    }
    public void setSgsjSuggest(String sgsjSuggest) 
    {
        this.sgsjSuggest = sgsjSuggest;
    }

    public String getSgsjSuggest() 
    {
        return sgsjSuggest;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }
    public void setOther1(String other1) 
    {
        this.other1 = other1;
    }

    public String getOther1() 
    {
        return other1;
    }
    public void setOther2(String other2) 
    {
        this.other2 = other2;
    }

    public String getOther2() 
    {
        return other2;
    }
    public void setOther3(String other3) 
    {
        this.other3 = other3;
    }

    public String getOther3() 
    {
        return other3;
    }
    public void setOther4(String other4) 
    {
        this.other4 = other4;
    }

    public String getOther4() 
    {
        return other4;
    }
    public void setOther5(String other5) 
    {
        this.other5 = other5;
    }

    public String getOther5() 
    {
        return other5;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sgsjId", getSgsjId())
            .append("sgsjName", getSgsjName())
            .append("sgsjAddress", getSgsjAddress())
            .append("sgsjStatus", getSgsjStatus())
            .append("sgsjType", getSgsjType())
            .append("sgsjEconomicloss", getSgsjEconomicloss())
            .append("sgsjHappen", getSgsjHappen())
            .append("sgsjDepartment", getSgsjDepartment())
            .append("sgsjLevel", getSgsjLevel())
            .append("sgsjPass", getSgsjPass())
            .append("sgsjReporttime", getSgsjReporttime())
            .append("sgsjInformant", getSgsjInformant())
            .append("sgsjInformantphone", getSgsjInformantphone())
            .append("sgsjSuperior", getSgsjSuperior())
            .append("casualtyId", getCasualtyId())
            .append("sgsjUnit", getSgsjUnit())
            .append("sgsjMember", getSgsjMember())
            .append("sgsjReason", getSgsjReason())
            .append("hiddendanger", getHiddendanger())
            .append("sgsjCognizance", getSgsjCognizance())
            .append("sgsjEducation", getSgsjEducation())
            .append("sgsjSuggest", getSgsjSuggest())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .append("other", getOther())
            .append("other1", getOther1())
            .append("other2", getOther2())
            .append("other3", getOther3())
            .append("other4", getOther4())
            .append("other5", getOther5())
            .toString();
    }
}
